<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="ThemeBucket">
    <link rel="shortcut icon" href="#" type="image/png">

    <title>Basic Table</title>

    <!-- 引入公共样式片段  -->
    <div th:replace="~{common :: commonCSS}"></div>
</head>

<body class="sticky-header">
    <section>
        <!-- 引入公共的左侧片段 -->
        <!-- th:replace替换内容，~{HTML页面名称 :: #id名称}  -->
        <div th:replace="~{common :: #commonLeft}"></div>

        <!-- main content start-->
        <div class="main-content">

            <!-- 引入公共的头部片段 -->
            <!-- th:replace替换内容，~{HTML页面名称 :: #id名称}  -->
            <div th:replace="~{common :: #commonHeader}"></div>

            <!-- 页面标题开始-->
            <div class="page-heading">
                <h3>Basic Table</h3>
                <ul class="breadcrumb">
                    <li>
                        <a href="#">Dashboard</a>
                    </li>
                    <li>
                        <a href="#">Data Table</a>
                    </li>
                    <li class="active">Basic Table</li>
                </ul>
            </div>
            <!-- 页面标题结束-->

            <!--内容区域开始-->
            <div class="wrapper">
                <div class="row">
                    <div class="col-sm-6">
                        <section class="panel">
                            <header class="panel-heading">
                                Basic Table
                                <span class="tools pull-right">
                                    <a href="javascript:;" class="fa fa-chevron-down"></a>
                                    <a href="javascript:;" class="fa fa-times"></a>
                                </span>
                            </header>
                            <div class="panel-body">
                                <table class="table">
                                    <thead>
                                        <tr>
                                            <th>序号</th>
                                            <th>Username</th>
                                            <th>Password</th>
                                            <th>头像</th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <tr th:each="user,sta : ${users}">
                                            <td>[[${sta.count}]]</td>
                                            <td th:text="${user.name}"></td>
                                            <td>[[${user.pwd}]]</td>
                                            <td><img th:if="${user.pic!=null && user.pic!=''}" th:src="${user.pic}" width="50px" height="auto" /></td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>

                        </section>
                    </div>
                    <div class="col-sm-6">
                        <section class="panel">
                            <header class="panel-heading">
                                Striped Table
                                <span class="tools pull-right">
                                    <a href="javascript:;" class="fa fa-chevron-down"></a>
                                    <a href="javascript:;" class="fa fa-times"></a>
                                </span>
                            </header>
                            <div class="panel-body">
                                <table class="table table-striped">
                                    <thead>
                                        <tr>
                                            <th>#</th>
                                            <th>First Name</th>
                                            <th>Last Name</th>
                                            <th>Username</th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <tr>
                                            <td>1</td>
                                            <td>Mark</td>
                                            <td>Otto</td>
                                            <td>@mdo</td>
                                        </tr>
                                        <tr>
                                            <td>2</td>
                                            <td>Jacob</td>
                                            <td>Thornton</td>
                                            <td>@fat</td>
                                        </tr>
                                        <tr>
                                            <td>3</td>
                                            <td>Larry</td>
                                            <td>the Bird</td>
                                            <td>@twitter</td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                        </section>
                    </div>
                </div>
                <div class="row">
                    <div class="col-sm-6">
                        <section class="panel">
                            <header class="panel-heading no-border">
                                Border Table
                                <span class="tools pull-right">
                                    <a href="javascript:;" class="fa fa-chevron-down"></a>
                                    <a href="javascript:;" class="fa fa-times"></a>
                                </span>
                            </header>
                            <div class="panel-body">
                                <table class="table table-bordered">
                                    <thead>
                                        <tr>
                                            <th>#</th>
                                            <th>First Name</th>
                                            <th>Last Name</th>
                                            <th>Username</th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <tr>
                                            <td rowspan="2">1</td>
                                            <td>Mark</td>
                                            <td>Otto</td>
                                            <td>@mdo</td>
                                        </tr>
                                        <tr>
                                            <td>Mark</td>
                                            <td>Otto</td>
                                            <td>@TwBootstrap</td>
                                        </tr>
                                        <tr>
                                            <td>2</td>
                                            <td>Jacob</td>
                                            <td>Thornton</td>
                                            <td>@fat</td>
                                        </tr>
                                        <tr>
                                            <td>3</td>
                                            <td colspan="2">Larry the Bird</td>
                                            <td>@twitter</td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                        </section>
                    </div>
                    <div class="col-sm-6">
                        <section class="panel">
                            <header class="panel-heading">
                                Hover Table
                                <span class="tools pull-right">
                                    <a href="javascript:;" class="fa fa-chevron-down"></a>
                                    <a href="javascript:;" class="fa fa-times"></a>
                                </span>
                            </header>
                            <div class="panel-body">
                                <table class="table table-hover">
                                    <thead>
                                        <tr>
                                            <th>#</th>
                                            <th>First Name</th>
                                            <th>Last Name</th>
                                            <th>Username</th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <tr>
                                            <td>1</td>
                                            <td>Mark</td>
                                            <td>Otto</td>
                                            <td>@mdo</td>
                                        </tr>
                                        <tr>
                                            <td>2</td>
                                            <td>Jacob</td>
                                            <td>Thornton</td>
                                            <td>@fat</td>
                                        </tr>
                                        <tr>
                                            <td>3</td>
                                            <td colspan="2">Larry the Bird</td>
                                            <td>@twitter</td>
                                        </tr>
                                        <tr>
                                            <td>3</td>
                                            <td>Jane Doe</td>
                                            <td>Mosa</td>
                                            <td>@twitter</td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                        </section>
                    </div>
                </div>
                <div class="row">
                    <div class="col-sm-12">
                        <section class="panel">
                            <header class="panel-heading">
                                General Table
                                <span class="tools pull-right">
                                    <a href="javascript:;" class="fa fa-chevron-down"></a>
                                    <a href="javascript:;" class="fa fa-times"></a>
                                </span>
                            </header>
                            <div class="panel-body">
                                <table class="table  table-hover general-table">
                                    <thead>
                                        <tr>
                                            <th>Company</th>
                                            <th class="hidden-phone">Descrition</th>
                                            <th>Profit</th>
                                            <th>Status</th>
                                            <th>Progress</th>
                                        </tr>
                                    </thead>
                                    <tbody>

                                        <tr>
                                            <td>
                                                <a href="#">ThemeBucket</a>
                                            </td>
                                            <td class="hidden-phone">Lorem Ipsum dorolo</td>
                                            <td>556.00$</td>
                                            <td>
                                                <span class="label label-warning label-mini">Due</span>
                                            </td>
                                            <td>
                                                <div class="progress progress-striped progress-xs">
                                                    <div style="width: 70%" aria-valuemax="100" aria-valuemin="0" aria-valuenow="40" role="progressbar" class="progress-bar progress-bar-danger">
                                                        <span class="sr-only">70% Complete (success)</span>
                                                    </div>
                                                </div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <a href="#">XYZ</a>
                                            </td>
                                            <td class="hidden-phone">Lorem Ipsum dorolo</td>
                                            <td>13240.00$</td>
                                            <td>
                                                <span class="label label-success label-mini">Paid</span>
                                            </td>
                                            <td>
                                                <div class="progress progress-striped progress-xs">
                                                    <div style="width: 55%" aria-valuemax="100" aria-valuemin="0" aria-valuenow="40" role="progressbar" class="progress-bar progress-bar-warning">
                                                        <span class="sr-only">55% Complete (success)</span>
                                                    </div>
                                                </div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <a href="#">Graphics</a>
                                            </td>
                                            <td class="hidden-phone">Lorem Ipsum dorolo imit</td>
                                            <td>1320.00$</td>
                                            <td>
                                                <span class="label label-info label-mini">Due</span>
                                            </td>
                                            <td>
                                                <div class="progress progress-striped progress-xs">
                                                    <div style="width: 40%" aria-valuemax="100" aria-valuemin="0" aria-valuenow="40" role="progressbar" class="progress-bar progress-bar-success">
                                                        <span class="sr-only">40% Complete (success)</span>
                                                    </div>
                                                </div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <a href="#">BCSE</a>
                                            </td>
                                            <td class="hidden-phone">Lorem Ipsum dorolo</td>
                                            <td>3455.50$</td>
                                            <td>
                                                <span class="label label-danger label-mini">Paid</span>
                                            </td>
                                            <td>
                                                <div class="progress progress-striped progress-xs">
                                                    <div style="width: 90%" aria-valuemax="100" aria-valuemin="0" aria-valuenow="40" role="progressbar" class="progress-bar progress-bar-info">
                                                        <span class="sr-only">90% Complete (success)</span>
                                                    </div>
                                                </div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <a href="#">AVC Ltd</a>
                                            </td>
                                            <td class="hidden-phone">Lorem Ipsum dorolo imit</td>
                                            <td>110.00$</td>
                                            <td>
                                                <span class="label label-primary label-mini">Due</span>
                                            </td>
                                            <td>
                                                <div class="progress progress-striped progress-xs">
                                                    <div style="width: 60%" aria-valuemax="100" aria-valuemin="0" aria-valuenow="40" role="progressbar" class="progress-bar progress-bar-success">
                                                        <span class="sr-only">60% Complete (success)</span>
                                                    </div>
                                                </div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <a href="#">Themeforest</a>
                                            </td>
                                            <td class="hidden-phone">Lorem Ipsum dorolo</td>
                                            <td>456.00$</td>
                                            <td>
                                                <span class="label label-warning label-mini">Due</span>
                                            </td>
                                            <td>
                                                <div class="progress progress-striped progress-xs">
                                                    <div style="width: 40%" aria-valuemax="100" aria-valuemin="0" aria-valuenow="40" role="progressbar" class="progress-bar progress-bar-danger">
                                                        <span class="sr-only">40% Complete (success)</span>
                                                    </div>
                                                </div>
                                            </td>
                                        </tr>

                                    </tbody>
                                </table>
                            </div>
                        </section>
                    </div>
                </div>
            </div>
            <!--内容区域结束-->

            <!-- 引入公共的底部 -->
            <!-- th:replace替换内容，~{HTML页面名称 :: #id名称}  -->
            <div th:replace="~{common :: #commonFooter}"></div>
        </div>
        <!-- main content end-->
    </section>

    <!-- 引入公共的JS片段 -->
    <!-- th:replace替换内容，~{HTML页面名称 :: 片段名称}  -->
    <div th:replace="~{common :: commonJS}"></div>

</body>

</html>